package ModelLag;


/**
 * Write a description of class Person here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Leverandoor extends Person
{
    // instance variables - replace the example below with your own
    private long indkoebsRabat;
    private String kommentar;
    

    /**
     * Constructor for objects of class Person
     */
    public Leverandoor(String name, String adresse, String postNr, String by, String telefonNummer, long indkoebsRabat, String kommentar)
    {
        super(name, adresse, postNr, by, telefonNummer);
        this.indkoebsRabat = indkoebsRabat;
        this.kommentar = kommentar;
        super.setType("Leverandoer");
    }
    
    public long getIndkoebsRabat()
    {
        return indkoebsRabat;
    }
    
    public void setIndkoebsRabat(long indkoebsRabat)
    {
        this.indkoebsRabat = indkoebsRabat;
    }
    
    public String getKommentar()
    {
        return kommentar;
    }
    
    public void setKommentar(String kommentar)
    {
        this.kommentar = kommentar;
    }
    
    public void tilfoejOrdreNr(String ordreNr)
    {
        
    }
    
    public void opdaterMedarbejder(long rabat)
    {
    }
    public void opdaterKunde(String brugere, String cvrNr, long rabat)
    {
    }
    public void opdaterLeverandoer(long indkoebsRabat, String kommentar)
    {
        this.indkoebsRabat = indkoebsRabat;
        this.kommentar = kommentar;
    }
        
        

    /**
     * An example of a method - replace this comment with your own
     * 
     * @param  y   a sample parameter for a method
     * @return     the sum of x and y 
     */
    
    
   
}